package com.jai.pms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 数据信息关联管理对象 pms_data_relation
 * 
 * @author ruoyi
 * @date 2023-12-12
 */
public class PmsDataRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 项目编码 */
    @Excel(name = "项目编码")
    private String projectCode;

    /** 一个数据id */
    @Excel(name = "一个数据id")
    private Long fDataId;

    /** 一个数据编码 */
    @Excel(name = "一个数据编码")
    private String fDataCode;

    /** 一个实体id */
    @Excel(name = "一个实体id")
    private Long fEntityId;

    /** 一个实体编码 */
    @Excel(name = "一个实体编码")
    private String fEntityCode;

    /** 一个实体名称 */
    @Excel(name = "一个实体名称")
    private String fEntityName;

    /** 另一个数据id */
    @Excel(name = "另一个数据id")
    private Long sDataId;

    /** 另一个数据编码 */
    @Excel(name = "另一个数据编码")
    private String sDataCode;

    /** 另一个实体id */
    @Excel(name = "另一个实体id")
    private Long sEntityId;

    /** 另一个实体编码 */
    @Excel(name = "另一个实体编码")
    private String sEntityCode;

    /** 另一个实体名称 */
    @Excel(name = "另一个实体名称")
    private String sEntityName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setProjectCode(String projectCode) 
    {
        this.projectCode = projectCode;
    }

    public String getProjectCode() 
    {
        return projectCode;
    }
    public void setfDataId(Long fDataId) 
    {
        this.fDataId = fDataId;
    }

    public Long getfDataId() 
    {
        return fDataId;
    }
    public void setfDataCode(String fDataCode) 
    {
        this.fDataCode = fDataCode;
    }

    public String getfDataCode() 
    {
        return fDataCode;
    }
    public void setfEntityId(Long fEntityId) 
    {
        this.fEntityId = fEntityId;
    }

    public Long getfEntityId() 
    {
        return fEntityId;
    }
    public void setfEntityCode(String fEntityCode) 
    {
        this.fEntityCode = fEntityCode;
    }

    public String getfEntityCode() 
    {
        return fEntityCode;
    }
    public void setfEntityName(String fEntityName) 
    {
        this.fEntityName = fEntityName;
    }

    public String getfEntityName() 
    {
        return fEntityName;
    }
    public void setsDataId(Long sDataId) 
    {
        this.sDataId = sDataId;
    }

    public Long getsDataId() 
    {
        return sDataId;
    }
    public void setsDataCode(String sDataCode) 
    {
        this.sDataCode = sDataCode;
    }

    public String getsDataCode() 
    {
        return sDataCode;
    }
    public void setsEntityId(Long sEntityId) 
    {
        this.sEntityId = sEntityId;
    }

    public Long getsEntityId() 
    {
        return sEntityId;
    }
    public void setsEntityCode(String sEntityCode) 
    {
        this.sEntityCode = sEntityCode;
    }

    public String getsEntityCode() 
    {
        return sEntityCode;
    }
    public void setsEntityName(String sEntityName) 
    {
        this.sEntityName = sEntityName;
    }

    public String getsEntityName() 
    {
        return sEntityName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("projectCode", getProjectCode())
            .append("fDataId", getfDataId())
            .append("fDataCode", getfDataCode())
            .append("fEntityId", getfEntityId())
            .append("fEntityCode", getfEntityCode())
            .append("fEntityName", getfEntityName())
            .append("sDataId", getsDataId())
            .append("sDataCode", getsDataCode())
            .append("sEntityId", getsEntityId())
            .append("sEntityCode", getsEntityCode())
            .append("sEntityName", getsEntityName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
